home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 6
/
The Arsenal Files 6 (Arsenal Computer).ISO
/
prg_basi
/
agavb25.zip
/
VC.ZIP
/
VCDEMDOC.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1995-12-11
|
2KB
|
81 lines
// vcdemdoc.cpp : implementation of the CVcdemoDoc class
//
#include "stdafx.h"
#include "vcdemo.h"
#include "vcdemdoc.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CVcdemoDoc
IMPLEMENT_DYNCREATE(CVcdemoDoc, CDocument)
BEGIN_MESSAGE_MAP(CVcdemoDoc, CDocument)
//{{AFX_MSG_MAP(CVcdemoDoc)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CVcdemoDoc construction/destruction
CVcdemoDoc::CVcdemoDoc()
{
// TODO: add one-time construction code here
}
CVcdemoDoc::~CVcdemoDoc()
{
}
BOOL CVcdemoDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CVcdemoDoc serialization
void CVcdemoDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CVcdemoDoc diagnostics
#ifdef _DEBUG
void CVcdemoDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CVcdemoDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CVcdemoDoc commands